package com.ruoyi.xiaoshouchuku.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售出库对象 xiaoshou_chuku
 *
 * @author ruoyi
 * @date 2023-05-23
 */
@ApiModel(value = "销售出库实体类")
public class XiaoshouChuku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 单据编号 */
    @ApiModelProperty("单据编号")
    @Excel(name = "单据编号")
    private String chukuDanhao;

    /** 销售日期 */
    @ApiModelProperty("销售日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date chukuDate;

    /** 销售金额 */
    @ApiModelProperty("销售金额")
    @Excel(name = "销售金额")
    private BigDecimal jiner;

    /** 付款方式（0微信支付 1支付宝支付 2现金支付 3银行卡转账 4其他支付方式 5未付） */
    @ApiModelProperty("付款方式(0微信支付 1支付宝支付 2现金支付 3银行卡转账 4其他支付方式 5未付)")
    @Excel(name = "付款方式", readConverterExp = "0=微信支付,1=支付宝支付,2=现金支付,3=银行卡转账,4=其他支付方式,5=未付")
    private String paymentMethod;

    /** 经手人 */
    @ApiModelProperty("经手人")
    @Excel(name = "经手人")
    private String chukuJingshouren;

    /** 仓库 */
    @ApiModelProperty("仓库")
    @Excel(name = "仓库")
    private String chukuCangku;

    /** 商品编号 */
    @ApiModelProperty("商品编号")
    @Excel(name = "商品编号")
    private String goodId;

    /** 商品名称 */
    @ApiModelProperty("商品名称")
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品规格 */
    @ApiModelProperty("商品规格")
    @Excel(name = "商品规格")
    private String goodGuige;

    /** 数量 */
    @ApiModelProperty("数量")
    @Excel(name = "数量")
    private BigDecimal shuliang;

    /** 销售单价 */
    @ApiModelProperty("销售单价")
    @Excel(name = "销售单价")
    private BigDecimal chukuDanjia;

    /** 总部底价 */
    @ApiModelProperty("总部底价")
    @Excel(name = "总部底价")
    private BigDecimal zongbudijia;

    /** 底价 */
    @ApiModelProperty("底价")
    @Excel(name = "底价")
    private BigDecimal dijia;

    /** 备注 */
    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String beizhu;

    /** 商品类别 */
    @ApiModelProperty("商品类别")
    @Excel(name = "商品类别")
    private String shangpinLeibie;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer qianghou;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer sjsckuan;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer sjscgao;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String wujing;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer zhonjine;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tupian;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tupian2;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setChukuDanhao(String chukuDanhao)
    {
        this.chukuDanhao = chukuDanhao;
    }

    public String getChukuDanhao()
    {
        return chukuDanhao;
    }
    public void setChukuDate(Date chukuDate)
    {
        this.chukuDate = chukuDate;
    }

    public Date getChukuDate()
    {
        return chukuDate;
    }
    public void setJiner(BigDecimal jiner)
    {
        this.jiner = jiner;
    }

    public BigDecimal getJiner()
    {
        return jiner;
    }
    public void setPaymentMethod(String paymentMethod)
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod()
    {
        return paymentMethod;
    }
    public void setChukuJingshouren(String chukuJingshouren)
    {
        this.chukuJingshouren = chukuJingshouren;
    }

    public String getChukuJingshouren()
    {
        return chukuJingshouren;
    }
    public void setChukuCangku(String chukuCangku)
    {
        this.chukuCangku = chukuCangku;
    }

    public String getChukuCangku()
    {
        return chukuCangku;
    }
    public void setGoodId(String goodId)
    {
        this.goodId = goodId;
    }

    public String getGoodId()
    {
        return goodId;
    }
    public void setGoodName(String goodName)
    {
        this.goodName = goodName;
    }

    public String getGoodName()
    {
        return goodName;
    }
    public void setGoodGuige(String goodGuige)
    {
        this.goodGuige = goodGuige;
    }

    public String getGoodGuige()
    {
        return goodGuige;
    }
    public void setShuliang(BigDecimal shuliang)
    {
        this.shuliang = shuliang;
    }

    public BigDecimal getShuliang()
    {
        return shuliang;
    }
    public void setChukuDanjia(BigDecimal chukuDanjia)
    {
        this.chukuDanjia = chukuDanjia;
    }

    public BigDecimal getChukuDanjia()
    {
        return chukuDanjia;
    }
    public void setZongbudijia(BigDecimal zongbudijia)
    {
        this.zongbudijia = zongbudijia;
    }

    public BigDecimal getZongbudijia()
    {
        return zongbudijia;
    }
    public void setDijia(BigDecimal dijia)
    {
        this.dijia = dijia;
    }

    public BigDecimal getDijia()
    {
        return dijia;
    }
    public void setBeizhu(String beizhu)
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu()
    {
        return beizhu;
    }
    public void setShangpinLeibie(String shangpinLeibie)
    {
        this.shangpinLeibie = shangpinLeibie;
    }

    public String getShangpinLeibie()
    {
        return shangpinLeibie;
    }
    public void setQianghou(Integer qianghou)
    {
        this.qianghou = qianghou;
    }

    public Integer getQianghou()
    {
        return qianghou;
    }
    public void setSjsckuan(Integer sjsckuan)
    {
        this.sjsckuan = sjsckuan;
    }

    public Integer getSjsckuan()
    {
        return sjsckuan;
    }
    public void setSjscgao(Integer sjscgao)
    {
        this.sjscgao = sjscgao;
    }

    public Integer getSjscgao()
    {
        return sjscgao;
    }
    public void setWujing(String wujing)
    {
        this.wujing = wujing;
    }

    public String getWujing()
    {
        return wujing;
    }
    public void setZhonjine(Integer zhonjine)
    {
        this.zhonjine = zhonjine;
    }

    public Integer getZhonjine()
    {
        return zhonjine;
    }
    public void setTupian(String tupian)
    {
        this.tupian = tupian;
    }

    public String getTupian()
    {
        return tupian;
    }
    public void setTupian2(String tupian2)
    {
        this.tupian2 = tupian2;
    }

    public String getTupian2()
    {
        return tupian2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("chukuDanhao", getChukuDanhao())
                .append("chukuDate", getChukuDate())
                .append("jiner", getJiner())
                .append("paymentMethod", getPaymentMethod())
                .append("chukuJingshouren", getChukuJingshouren())
                .append("chukuCangku", getChukuCangku())
                .append("goodId", getGoodId())
                .append("goodName", getGoodName())
                .append("goodGuige", getGoodGuige())
                .append("shuliang", getShuliang())
                .append("chukuDanjia", getChukuDanjia())
                .append("zongbudijia", getZongbudijia())
                .append("dijia", getDijia())
                .append("beizhu", getBeizhu())
                .append("shangpinLeibie", getShangpinLeibie())
                .append("qianghou", getQianghou())
                .append("sjsckuan", getSjsckuan())
                .append("sjscgao", getSjscgao())
                .append("wujing", getWujing())
                .append("zhonjine", getZhonjine())
                .append("tupian", getTupian())
                .append("tupian2", getTupian2())
                .toString();
    }
}
